package com.bzkj.basicinfo.service.ncc;


import com.bzkj.basicinfo.domain.ncc.dto.NccBasicCustomerDto;
import com.bzkj.basicinfo.domain.ncc.NccBasicCustomer;
import com.bzkj.common.core.domain.AjaxResult;
import com.bzkj.common.core.domain.R;

import java.util.List;

public interface NccBasicCustomerService {
    /**
     * NCC客户基础信息定时任务
     */
    void updateNccBasicCustomerJob(String all);

    /**
     * ncc客户基础信息新增
     * @Author wangzhichao
     * @Date 2024/12/05 08:34:50
     * @Param entity
     */
    AjaxResult nccBasicCustomerSave(NccBasicCustomer entity);

    /**
     * ncc客户基础信息状态修改
     * @Author wangzhichao
     * @Date 2024/12/05 09:53:25
     * @Param status
     * @Param pkCustomer
     */
    AjaxResult nccBasicCustomerEnableStatusUpdate(String status, String pkCustomer);

    /**
     * 根据pK_CUSTOMER修改客户信息
     * @Author wangzhichao
     * @Date 2024/12/05 14:22:31
     * @Param entity
     */
    AjaxResult nccBasicCustomerUpdate(NccBasicCustomer entity);

    /**
     * 根据条件分页查询数据
     *
     * @Author wangzhichao
     * @Date 2024/12/05 15:27:03
     * @Param dto 条件
     * @Param page 分页条件
     */
    List<NccBasicCustomer> findNccBasicCustomerDataPage(NccBasicCustomerDto dto);

    List<String> findNccBasicCustomerName(String name);

    R jobMethodExecute(Boolean flag);
}
